'Declaration Public Overloads Shared Function Create( _ ByVal device As Device, _ ByVal description As Texture2DDescription, _ ByVal ParamArray data() As DataRectangle _ ) As Texture2D
public static Texture2D Create( Device device, Texture2DDescription description, params DataRectangle[] data )
Parameters
- device
- The device with which to associate the texture.
- description
- The description of the texture.
- data
- An array of initial texture data for each subresource.